﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
using YiSha.Util;

namespace YiSha.Model.Result.QixingManage
{
    public class WXCorpGroupChatDto
    {
        [JsonConverter(typeof(StringJsonConverter))]
        public long? Id { get; set; }
        /// <summary>
        /// 群id
        /// </summary>
        /// <returns></returns>
        public string chat_id { get; set; }
        /// <summary>
        /// 群状态客户群跟进状态0 - 跟进人正常1 - 跟进人离职2 - 离职继承中3 - 离职继承完成
        /// </summary>
        /// <returns></returns>
        public int? status { get; set; }

        public string status_doc { get; set; }
        /// <summary>
        /// 群名
        /// </summary>
        /// <returns></returns>
        public string name { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(DateTimeJsonConverter))]
        public DateTime? create_time { get; set; }

        /// <summary>
        /// 场景1 - 群的小程序插件2 - 群的二维码插件
        /// </summary>
        /// <returns></returns>
        public int? scene { get; set; }

        public string scene_doc { get; set; }
        /// <summary>
        /// 当群满了后，是否自动新建群。0-否；1-是。 默认为1
        /// </summary>
        /// <returns></returns>
        public int? auto_create_room { get; set; }

        public string auto_create_room_doc { get; set; }
        /// <summary>
        /// 自动建群的群名前缀
        /// </summary>
        /// <returns></returns>
        public string room_base_name { get; set; }
        /// <summary>
        /// 自动建群的群起始序号
        /// </summary>
        /// <returns></returns>
        public int? room_base_id { get; set; }
        /// <summary>
        /// 联系方式的备注信息
        /// </summary>
        /// <returns></returns>
        public string remark { get; set; }
        /// <summary>
        /// 配置id
        /// </summary>
        /// <returns></returns>
        public string config_id { get; set; }
        /// <summary>
        /// 图片或者二维码
        /// </summary>
        /// <returns></returns>
        public string qr_code { get; set; }

        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime? lasttime { get; set; }

        public int? type { get; set; }
    }
}
